#ifndef CZENFACE_H
#define CZENFACE_H

#include "ZenEngine.h"
#include "ZenVertex.h"
#include "ZenObject.h"

class CZenFace : public CZenObject
{
public:
	CZenFace();
	~CZenFace();

	void SetProps(int Vertex, float  x, float  y, float  z, float nx, float ny, float nz,
				  D3DCOLOR DiffuseColor, D3DCOLOR SpecularColor, float tu, float tv);
	HRESULT SetTexture(LPDIRECT3DTEXTURE8 pTexture);
	HRESULT SetTexture(char * strPathName);
	HRESULT Render();

protected:
	CZenEngine			zen;
	CZenVertex			m_Vertices[3];
	LPDIRECT3DTEXTURE8	m_pTexture;
	bool				m_bTextureSet;
};

#endif
